package com.ksd.common.contants;

import org.apache.commons.lang3.StringUtils;

/**
 * @author 飞哥
 * @date 2023-07-30$ 19:14$
 */
public interface PanConstants {

    /**
     * 公用的字符串分隔符
     */
    String COMMON_SEPARATOR = "__,__";

    /**
     * 空字符串
     */
    String EMPTY_STR = StringUtils.EMPTY;

    /**
     * 点 常量
     */
    String POINT_STR = ".";

    /**
     * 斜杠字符串
     */
    String SLASH_STR = "/";

    /**
     * LONG类型常量0
     */
    Long ZERO_LONG = 0L;

    /**
     * Integer类型常量0
     */
    Integer ZERO_INT = 0;

    /**
     * Integer类型常量1
     */
    Integer ONE_INT = 1;

    /**
     * Integer类型常量2
     */
    Integer TWO_INT = 2;

    /**
     * Integer类型常量-1
     */
    Integer MINUS_ONE_INT = -1;

    /**
     * String类型true
     */
    String TRUE_STR = "true";

    /**
     * String类型false
     */
    String FALSE_STR = "false";

    /**
     * 基础扫描路径
     */
    String BASE_COMPONENT_SCAN_PATH = "com.ksd";

    // 会话名称
    String SESSION_USER = "sessionuser";
    String SESSION_USER_PHONE_CODE = "sessionuser_phonecode";
    String SESSION_USERIDMD5 = "useridmd5";
    String SESSION_VIPDAYS = "vipdays";
    String SESSION_PHONE_CODE = "phonecode";
    String LOGIN_USER_UUID="redis-pc-user-uuid-";

}
